package joinmessage

type JoinMessage struct {
	Id           int64  `gorm:"primarykey"`
	Name         string `gorm:"column:name;type:varchar(50);not null;default:'';comment:姓名"`
	Mobile       string `gorm:"column:mobile;type:varchar(20);not null;default:'';comment:手机号码"`
	Source       int8   `gorm:"column:source;type:tinyint(1);not null;default:1;comment:线索来源:1加盟，2联系我们"`
	Content      string `gorm:"column:content;type:varchar(500);not null;default:'';comment:留言内容"`
	RegisterTime int    `gorm:"column:register_time;type:int(10) unsigned;not null;default:0;comment:来源时间"`
	Status       int8   `gorm:"column:status;type:tinyint(1);not null;default:0;comment:跟进状态：0=待跟进，1=已跟进"`
	FollowId     uint   `gorm:"column:follow_id;type:int(10) unsigned;not null;default:0;comment:跟进人"`
	Remark       string `gorm:"column:remark;type:varchar(500);not null;default:'';comment:备注"`
	IsDelete     int    `gorm:"column:is_delete;type:int(1) unsigned;not null;default:0;comment:是否删除: 0=否, 1=是"`
	CreateTime   int    `gorm:"autoCreateTime;column:create_time;type:int(10) unsigned;not null;default:0;comment:创建时间"`
	UpdateTime   int    `gorm:"autoUpdateTime;column:update_time;type:int(10) unsigned;not null;default:0;comment:更新时间"`
	DeleteTime   int    `gorm:"column:delete_time;type:int(10) unsigned;not null;default:0;comment:删除时间"`
}
